home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / MacGzip 0.1b2 Source / README < prev   
Text File  |  1993-11-13  |  5KB  |  107 lines

  1. •  MacGzip 0.1ß2 (gzip 1.2.4)
  2.  
  3.  This application is the GNU’s gzip for the Macintosh.
  4.  Works only with system 7.x or later (I guess)
  5.  
  6.     Note: if you are udating from an earlier version, your preferences file will be reseted to the defaults.
  7.  
  8. •  Using MacGzip
  9.  
  10.  You can gzip files, but be careful; the resource fork will be lost. If you want gzip files with resource & info fork, use a macbinary translator first.
  11.  
  12.  When you gunzip a file, if the ascii option is selected, newlines will be converted.
  13.  
  14.  You can process files only one by one. This perhaps will be improved in another version (if you ask for it); the process (compress or uncompress) is selected in the “gzip” menu. This selection has no effect if the file is opened from Finder (see below).
  15.  
  16.  -Preferences:
  17.  
  18.   Suffix…  Is an optional suffix to use instead of '.gz'. If you are using the standar suffixes, let it empty.
  19.   Compression Level is used when compressing.  The higher level, the slower and better compression. (gunzip does not use this setting.)
  20.   Text creator…  Is the signature of files uncompressed in ascii mode.
  21.             
  22.  -Drag&Drop
  23.  
  24.     When you drag & drop a file on MacGzip's icon, you can press some keys to change its behavior:
  25.   None:   The file will be uncompressed in binary or ascii mode depending on the prefs saved.
  26.   'option key': The file will be gziped
  27.   'a':  If you are uncompressing, force ascii mode (prefs won't be changed)
  28.   'b':  If you are uncompressing, force binary mode (prefs won't be changed)
  29.  
  30. -Notes:
  31.  
  32.  Cmd-period will raise a SIGINT (the program execution will terminate)
  33.  When uncompressing large .Z files, the process ends a while after the gray bar is full
  34.  
  35. •  Tech. doc.
  36.  
  37.  I have changed most of the stderr & stdout outputs to Mac alerts. if in your screen flashes the console window, this is a bug (please, report to the address below)
  38.  
  39.  The menu “ascii” means “-a” option
  40.  The pref. Force… means “-f” option
  41.  The pref. Suffix... means "-S" option
  42.  
  43.  I have used the following file Types:
  44.    suffix  type   creator
  45.     .gz      Gzip     Gzip  gziped
  46.     .Z        ZIVU    Gzip  compressed (from maccompress)
  47.     .z        pZIP     Gzip  pkziped    (from UnZip 2.0.1)
  48.  Anyway, read GNU’s gzip.doc to find out about formats.
  49.  
  50.  The settings (Preferences and the gzip menu settings) are stored in the prefs folder. If you want to have two or more copies to perform different tasks, you can change the STR #128:
  51.  
  52.  Example: A copy called “gunzip -a” to use it as a grinder to gunzip text files (STR #128 = 'gunzip-a prefs'; for example).
  53.  
  54. •  About types & creators
  55.  
  56.     When you download a file from a non-mac host, the program that you are using to download must assign it two flags: File Type and File Creator.  These are two four character words that the Mac uses to know what icon they must have, what application must be opened when you make a double click on it, and if one SFGetFile (the 'open' dialog) should show the file or not.
  57.  
  58.     So, you should use a downloading application with a "suffix mapping" menu or preference, or at least, a drag&drop file typer.  You can find one, for example in
  59.         
  60. pinus.slu.se      
  61. /pub/mac/mirror-umich/util/diskfile/typeresolve2.01.cpt.hqx 0 0 
  62.  
  63. ftp.sunet.se      
  64. /pub/mac/mirror-umich/util/diskfile/typeresolve2.01.cpt.hqx 0 0 
  65.  
  66.   With this version of MacGzip, you don't need to use the correct type, but is a good idea to keep your files well typed.
  67.  
  68. • Warranty & so
  69.  
  70.     The guarantee is directly proportional to the price of the application: NONE. (OK, if you loose a very important file with 2.3 Mb of data, let me know it and I  will send you a few words of condolence).
  71.  
  72.  BTW: if you have uncompressed a text file in binary mode, you can recover it by compressing it again and uncompressing it as ascii.  But if you have uncompressed a binary file in ascii mode, you have lost the file.
  73.  
  74.   READ RIGHT NOW THESE FILES ON "gzip-1.2.4 sources":
  75.  
  76. ChangeLog
  77. COPYING
  78. INSTALL
  79. NEWS
  80. README
  81. THANKS
  82. TODO
  83.  
  84. • Thanks to:
  85.  
  86.  Timothy Murphy ("tim@maths.tcd.ie" ) for Posix lib.
  87.  tree@uvm.edu for SpinCursors code
  88.  Greg Robbins for Prefs code
  89.  C.K. Haun (Apple DTS) for Movable Modal code
  90.  Dave Rubinic for Easy Errors 1.0 resources
  91.  And all other people whose source code I used ‘for documentation’
  92.  
  93.  At last, thanks to myself
  94.   macspd@ivo.cps.unizar.es
  95.   jazz@ws4.cps.unizar.es
  96.   AppleLink: SPA0301
  97.  for being so nice company.
  98.  
  99. • REWARD 0.000.000 $
  100.   BUGS (dead or alive)
  101.  
  102. Si un hombre me pidiera el roloj amenazandome con un cuchillo,
  103. lucharia contra el con todas mis fuerzas, pero si me amenazara
  104. con ponerme un pleito para quitarmelo, se lo entregaria convencido
  105. de haber salido ganando.
  106.  
  107.  Wencesalao Fernandez Florez (Tribulaciones de un hombre adinerado)